<div class="content">
	<div class="row" style="padding-top: 5px">
		<div class="col-md-6" style="padding-left: 20px;padding-top: 10px">
			<span>已监控店铺 <a>{{$ctrl.monitorShops.length}}个</a></span>
			<small>注: 所有数据来自公开网页, 更新于 2017-04-13</small>
		</div>
		<div class="col-md-6 text-right" style="padding-right: 30px">
			<button class="btn btn-default radis-none" ng-click="$ctrl.addMonitor()">添加监控店铺</button>
		</div>
	</div>

	<table class="table" style="margin-top: 10px">
		<thead style="background: #e3e3e3">
			<tr>
				<th>店铺名</th>
				<th>昨天销量</th>
				<th>估算销售额</th>
				<th>自然引流词</th>
				<th>豆腐块词</th>
				<th>昨日销量TOP</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="shop in $ctrl.monitorShops">
				<td width="20%">
					<img class="t-icon" src="../img/tmall-favicon.ico">
					<span>{{shop.shopName}}</span>
				</td>
				<td width="10%">
					<h5>{{shop.ySales.count}}</h5>
					<h5 class="up">{{}}</h5>
				</td>
				<td width="10%">
					<h5>{{shop.saleMoney.count}}</h5>
					<h5 class="up">{{shop.saleMoney.scale|percentage}}</h5>
				</td>
				<td width="10%">
					<h5>{{shop.words.count}}</h5>
					<h5 class="down">{{shop.words.scale|percentage}}</h5>
				</td>
				<td width="10%">
					<h5>{{shop.tofu.count}}</h5>
					<h5 class="up">{{shop.tofu.scale|percentage}}</h5>
				</td>
				<td width="25%">
					<img class="goods-img" src="{{shop.top3Goods[0]}}">
					<img class="goods-img" src="{{shop.top3Goods[1]}}">
					<img class="goods-img" src="{{shop.top3Goods[2]}}">
				</td>
				<td width="15%">
					<button class="btn btn-default radis-none" ui-sref="detail">销售日报</button>
				</td>

			</tr>
		</tbody>
	</table>

</div>